<?php

class WeixinMenuModel extends Model {

    protected $_validate = array (
		array('name','require','菜单名称不能为空', 1),
		array('sort','require','排序不能为空', 1),
    );	

    protected $_auto = array (
		array('createTime','time',Model::MODEL_INSERT,'function'),		
		array('updateTime','time',Model::MODEL_BOTH,'function'),

	);
}
?>